// src/assets/utils/custom-theme.js

// 默认主题配置
const defaultTheme = {
  // 颜色相关
  primaryColor: "#00508e",
  buttonPrimaryBackgroundColor: "#00508e",
  primaryColorEnd: "#00508e",

  // 字体相关
  baseFontSize: "14px",
  smallFontSize: "12px",
  mediumFontSize: "16px",
  largeFontSize: "18px",
  // Font

  // 动画相关
  enableAnimation: true,
  transitionDuration: "0.3s",

  // 深色模式
  isDarkMode: false,
};
export const darkTheme = "dark";

// 预设主题
export const themes = {
  userA: {
    ...defaultTheme,
    primaryColor: "#00508e",
    buttonPrimaryBackgroundColor: "#00508e",
    primaryColorEnd: "#00508e",
  },
  userB: {
    ...defaultTheme,
    primaryColor: "#4cd964",
    buttonPrimaryBackgroundColor: "#4cd964",
    primaryColorEnd: "#4cd964",
  },
  dark: {
    ...defaultTheme,
    isDarkMode: true,
    primaryColor: "#007aff",
    buttonPrimaryBackgroundColor: "#007aff",
    primaryColorEnd: "#007aff",
    // 深色模式特有的颜色
    backgroundColor: "#1c1c1e",
    secondaryBackgroundColor: "#2c2c2e",
    textColor: "#ffffff",
    secondaryTextColor: "#8e8e93",
  },
};

export const defaultSettings = defaultTheme;
